
#include "AllEvents.h"

namespace events {

void BasicEvent::RegisterEventAllocators(EventFactory & ef) {
	ef.registerAllocator<FileEvent>(BasicEvent::EVENT_FILE_IO);
	ef.registerAllocator<MemoryEvent>(BasicEvent::EVENT_MEMORY);
	ef.registerAllocator<MiscEvents>(BasicEvent::EVENT_MISC);
	ef.registerAllocator<ThreadEvent>(BasicEvent::EVENT_THREADS);
	ef.registerAllocator<WindowEvent>(BasicEvent::EVENT_WINDOWS);
	ef.registerAllocator<NetworkEvent>(BasicEvent::EVENT_NETWORK);
	ef.registerAllocator<SyncEvent>(BasicEvent::EVENT_SYNC);
	ef.registerAllocator<EofEvent>(BasicEvent::EVENT_EOF);
}

}  // end namespace